package com.gopay.common.domain.riskcontrol;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Date;

/**
 * The persistent class for the RC_DOUBT_TRANS_DTL database table.
 * 
 */
@Entity
@Table(name = "RC_DOUBT_TRANS_DTL")
public class RcDoubtTransDtl implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    @SequenceGenerator(name = "RC_DOUBT_TRANS_SEQ_GENERATOR", sequenceName = "RC_DOUBT_TRANS_SEQ", allocationSize = 1)
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "RC_DOUBT_TRANS_SEQ_GENERATOR")
    private long id;

    @Column(name = "CUST_ID")
    private String custId;

    @Column(name = "DEAL_STAT")
    private String dealStat;

    @Column(name = "DEAL_TYPE")
    private String dealType;

    @Column(name = "GOPAY_INT_TXN_CD")
    private String gopayIntTxnCd;

    @Column(name = "GOPAY_ORDER_ID")
    private String gopayOrderId;

    @Column(name = "PAY_CHANNEL")
    private String payChannel;

    @Column(name = "TRIGGER_TS")
    private Date triggerTs;

    @Column(name = "\"VERSION\"")
    private BigDecimal version;

    @Column(name = "LAST_UPD_OPER_ID")
    private String lastUpdOperId;

    @Column(name = "LAST_UPD_TS")
    private Date lastUpdTs;
    
    public RcDoubtTransDtl() {
    }

    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getCustId() {
        return this.custId;
    }

    public void setCustId(String custId) {
        this.custId = custId;
    }

    public String getDealStat() {
        return this.dealStat;
    }

    public void setDealStat(String dealStat) {
        this.dealStat = dealStat;
    }

    public String getDealType() {
        return this.dealType;
    }

    public void setDealType(String dealType) {
        this.dealType = dealType;
    }

    public String getGopayIntTxnCd() {
        return this.gopayIntTxnCd;
    }

    public void setGopayIntTxnCd(String gopayIntTxnCd) {
        this.gopayIntTxnCd = gopayIntTxnCd;
    }

    public String getGopayOrderId() {
        return this.gopayOrderId;
    }

    public void setGopayOrderId(String gopayOrderId) {
        this.gopayOrderId = gopayOrderId;
    }

    public String getPayChannel() {
        return this.payChannel;
    }

    public void setPayChannel(String payChannel) {
        this.payChannel = payChannel;
    }

    public Date getTriggerTs() {
        return this.triggerTs;
    }

    public void setTriggerTs(Date triggerTs) {
        this.triggerTs = triggerTs;
    }

    public BigDecimal getVersion() {
        return this.version;
    }

    public void setVersion(BigDecimal version) {
        this.version = version;
    }

    public String getLastUpdOperId() {
        return lastUpdOperId;
    }

    public void setLastUpdOperId(String lastUpdOperId) {
        this.lastUpdOperId = lastUpdOperId;
    }

    public Date getLastUpdTs() {
        return lastUpdTs;
    }

    public void setLastUpdTs(Date lastUpdTs) {
        this.lastUpdTs = lastUpdTs;
    }

}